package com.ctsi.entity.req;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(value="新增组织机构")
public class AddSysUserMenuOrgReq implements Serializable {

    private static final long serialVersionUID = 7853914239737448443L;

    @ApiModelProperty(value = "组织机构ID")
    private Long sysMenuOrgId;

    @NotNull(message = "父级ID不能为空！")
    @ApiModelProperty(value = "父级ID")
    private Long parentOrgId;

    @NotBlank(message = "机构编码不能为空！")
    @ApiModelProperty(value = "机构编码")
    private String orgCode;

    @NotBlank(message = "机构名称不能为空！")
    @ApiModelProperty(value = "机构名称")
    private String orgName;

    @NotBlank(message = "机构完整编码不能为空！")
    @ApiModelProperty(value = "机构完整编码")
    private String orgPathCode;

    @NotBlank(message = "机构级别不能为空！")
    @ApiModelProperty(value = "机构级别")
    private String orgLevel;

    @NotBlank(message = "机构类型不能为空！")
    @ApiModelProperty(value = "机构类型")
    private String orgType;

    @ApiModelProperty(value = "创建人ID")
    private Long createStaffId;

    @ApiModelProperty(value = "创建人")
    private String createStaff;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改人ID")
    private Long updateStaffId;

    @ApiModelProperty(value = "修改人")
    private String updateStaff;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "地区编码")
    private Long lanId;

    @ApiModelProperty(value = "地区名称")
    private String lan;


    @ApiModelProperty(value = "用户ID")
    private Long userId;

    @NotBlank(message = "用户名不能为空！")
    @ApiModelProperty(value = "用户名")
    private String username;

    @NotBlank(message = "密码不能为空！")
    @ApiModelProperty(value = "密码")
    private String password;


    @NotNull(message = "角色ID不能为空！")
    @ApiModelProperty(value = "角色ID")
    private Integer roleId;


}
